<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>

	<style>
		.popup-content{
			padding: 30px;
		}
		.car-setup-install>h3{
			margin-bottom: 10px;
			margin-top: 30px;
			font-size: 20px;
		}
		.car-setup-install>dl{
			display: flex;
		}
		.car-setup-install>dl>dt{
			line-height: 40px;
			width: 150px;
		}
	</style>
	<section>
		<!--deer-content-->
		<div class="popup-content">
				<div class="layui-form car-setup-install">
					<h3>基本配置</h3>
					<dl>
						<dt>是否参与积分：</dt>
						<dd>
							<input type="radio" name="jifen" value="否" title="否" checked>
							<input type="radio" name="jifen" value="是" title="是">
						</dd>
					</dl>
					<dl>
						<dt>是否参与定级：</dt>
						<dd>
							<input type="radio" name="dingji" value="否" title="否" checked>
							<input type="radio" name="dingji" value="是" title="是">
						</dd>
					</dl>
					 <h3>优惠设置</h3>
					<dl>
						<dt>是否享受油枪优惠：</dt>
						<dd>
							<input type="radio" name="youqiang" value="否" title="否" checked>
							<input type="radio" name="youqiang" value="是" title="是">
						</dd>
					</dl>
					<dl>
						<dt>是否享受积分抵现：</dt>
						<dd>
							<input type="radio" name="dixian" value="否" title="否" checked>
							<input type="radio" name="dixian" value="是" title="是">
						</dd>
					</dl>
					<dl>
						<dt>是否享受分时优惠：</dt>
						<dd>
							<input type="radio" name="fenshi" value="否" title="否" checked>
							<input type="radio" name="fenshi" value="是" title="是">
						</dd>
					</dl>
					<dl>
						<dt>是否享可使用优惠券：</dt>
						<dd>
							<input type="radio" name="youqiangquan" value="否" title="否" checked>
							<input type="radio" name="youqiangquan" value="是" title="是">
						</dd>
					</dl>

					<button class="submit" lay-submit lay-filter="Submit">保存</button>
				</div>
		</div>
		<!--deer-content-->
	</section>
	
	<!--js-->
	<aside>
		<script type="text/javascript" src="../layui/layui.js" ></script>
		<script type="text/javascript">
			layui.use(['jquery','form'], function(){
			  	var $=layui.jquery;
				var form=layui.form
			  
				form.on('submit(Submit)', function (data) {
					console.log(data.field) //当前容器的全部表单字段，名值对形式：{name: value}
					$.ajax({
						url: '/',
						data: data.field,
						type: 'post',
						datatype: 'json',
						success: function (res) {
							if (res.code == 1) {

								layer.msg(res.msg);
								return;
							}
						}
					});
					return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
				});
			})
			</script>
		</script>
	</aside>
	<!--js-->
	
	
	
</body>
</html>